<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
  <title>WebCrawler: <%= controller.action_name %></title>
  <%= stylesheet_link_tag 'scaffold' %>
</head>
<body>
  <h1><%= link_to 'WebCrawler', root_path %></h1>
  <% form_tag search_path do %>
    <p><%= label_tag :term %> <%= text_field_tag :term %></p>
    <p><%= submit_tag 'Search' %></p>
  <% end %>
  <br/>
  <p style="color: green"><%= flash[:notice] %></p>
  <br/>
  <%= yield %>
  <br/>
  <br/>
  <%= link_to 'Capture', capture_path %>
</body>
</html>
